package homework3;

public class Instrument {
	private String name;
	public String Way;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Instrument(String name) {
		this.name = name;
	}

	public void play(String way) {
		this.Way = way;
	}

	public void show() {
		System.out.println(this.name + "," + Way);
	}

}
